package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author hzeport
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("EMDU_PARAM_GROUP_DUTY")
@ApiModel(value = "参数-群组排班配置表")
public class ParamGroupDuty extends BaseEntity {


    @ApiModelProperty(value = "值班类型：1.日常班；2.节假日；3.重要日；4.周末班")
    @TableField(value = "SCHEDULE_TYPE")
    @JsonProperty(value = "sType")
    private String sType;

    @ApiModelProperty(value = "排班配置类型：1.带班关领导；2.带班处领导；3.值班；4.署领导；5.司局领导；6.处领导；7.主值班员；8.副值班员")
    @TableField(value = "SE_TYPE")
    @JsonProperty(value = "seType")
    private String seType;

    @ApiModelProperty(value = "群组GUID，形式为UUID")
    @TableField(value = "GROUP_ID")
    @JsonProperty(value = "groupId")
    private String groupId;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

}
